import React, {  } from 'react';
import { connect } from 'react-redux';
import { Button } from 'antd';

function Login(props) {
  console.log('login', props);
  const { getUserInfo, login } = props

  return (
    <>
      <div>Login组件</div>
      <div>{login.data?.id}</div>
      <Button type="primary" onClick={getUserInfo}>Button</Button>
    </>
  )
}

export default connect(
  state => state,

)(Login)
